package com.yanqingshan.platform.common.core.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 功能描述:
 *
 * @author yanqs
 * @since 2023-05-15
 */
@Data
@ApiModel(value = "分页基础实体对象", description = "分页基础实体对象")
public class BasePageList<T> implements Serializable {
    private static final long serialVersionUID = -2352339385075948546L;
    @ApiModelProperty("总条数")
    private Long total;
    @ApiModelProperty("当前页数")
    private Long page;
    @ApiModelProperty("每页数量")
    private Long pageSize;
    @ApiModelProperty("结果数据列表")
    private List<T> rows;
}
